package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.BindTeachplanMediaDto;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;
import com.xuecheng.content.model.po.TeachplanMedia;

import java.util.List;

//课程计划管理接口
public interface TeachPlanService {

    //查询课程计划树形结构
    public List<TeachplanDto> findTeachplanTree(Long courseId);

    //添加课程计划
    public void saveTeachplan(SaveTeachplanDto saveTeachplanDto);

    public void deleteTeachplan(Long Id);

    void moveDown(Long id);

    void moveUp(Long id);

    //教学计划绑定媒资
    public TeachplanMedia associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    void deleteassociationMedia(Long teachplanid, String mediaid);
}
